<h1>New user</h1>

<%= form_for :user, :url => {:action => "signup"} do |f| %>

<label for="user_email">Email</label><br/>
<%= text_field "user", "email",  :size => 20 %><br/>

<label for="user_password">Password</label><br/>
<%= password_field "user", "password", :size => 20 %><br/>

<label for="user_password_confirmation">Password Confirmation</label><br/>
<%= password_field "user", "password_confirmation", :size => 20 %><br/>

<label for="user_authority">Authority Passcode (Not Required)</label><br/>
<%= password_field "user", "authority",  :size => 20 %><br/>

<%= submit_tag "Signup" %>


<% if flash[:warning] != nil %>
	<%= flash[:warning] %>
<% end %>


<% end %>